package cn.com.cym.gamezao.web.grk;

import cn.com.cym.gamezao.annotation.AuthToken;
import cn.com.cym.gamezao.base.BaseController;
import cn.com.cym.gamezao.base.BaseService;
import cn.com.cym.gamezao.entity.grk.Cure;
import cn.com.cym.gamezao.service.grk.CureService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "grk-治疗方案")
@RestController
@AllArgsConstructor
@RequestMapping(value = "grk/cure")
@AuthToken(rule = "grk.cure")
public class CureController extends BaseController<Cure> {

    final CureService thisService;

    @Override
    public BaseService<Cure> getService() {
        return thisService;
    }
}
